/*
$(function () {
    var gid = $("#selectGroup").val();
    console.log(gid);
});
function selectRole() {
    var gid = $("#selectGroup").val();
    console.log(gid);
    $.ajax({
        type:"GET",
        url:"/category/" + gid,
        async:true,
        success:function (data) {
            var rList = data;
            var rSelect = "<option>——请选择角色——</option>";
            for(var i = 0; i < rList.length; i++){
                rSelect += ("<option value = '"+rList[i].rid+"'>"+rList[i].rname+"</option>");
            }
            $("#selectRole").empty();
            $("#selectRole").append(rSelect);
        }
    })
}
*/
